#ifndef _JAMES_PLATFORM_H_
#define _JAMES_PLATFORM_H_

#define PLATFORM_WIN32 1
#define PLATFORM_LINUX 2
#define PLATFORM_TYPE PLATFORM_WIN32
//#define PLATFORM_TYPE PLATFORM_LINUX

class p_semaphore
{
public:
	p_semaphore(){}
	~p_semaphore(){}

public:
	void consume();
	void produce();
};

class p_mutex
{
public:
	p_mutex(){}
	~p_mutex(){}

public:
	void lock();
	void release();
};

#endif